<?php
    $err = $this->err;
    
    $return = $this->return;
    
?>
<h1>Add Admin</h1>
<form name="frmAddAdm" method="post" enctype="multipart/form-data">
	<div class="err"><?php echo $err; ?></div>
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td>User name: </td>
			<td><input type="text" name="txtUsrName" value="<?php echo $return['username'];?>" /></td>
		</tr>
		<tr>
			<td>Password: </td>
			<td><input type="password" name="txtUsrPwd" value="<?php echo $return['password'];?>" /></td>
		</tr>
		<tr>
			<td>Full name: </td>
			<td><input type="text" name="txtFullName" value="<?php echo $return['fullname'];?>" /></td>
		</tr>
		<tr>
			<td>Email: </td>
			<td><input type="text" name="txtEmail" value="<?php echo $return['email'];?>" /></td>
		</tr>
	</table>
	<div class="save-reset">
		<input type="submit" value="SAVE" />&nbsp;&nbsp;
		<input type="reset" value="Reset" />
	</div>
</form>